package com.md.album.contracts

import com.md.album.event.SelfAlbumEventModel
import com.md.album.event.SelfRefreshEvent
import com.md.basedpc.base.IBaseView
import com.md.basedpc.base.IPresenter
import com.md.network.api.Album

interface SelfAlbumContract {

    interface View:IBaseView{
        fun showProfile(mode: SelfAlbumEventModel)
        fun showAudios(model: SelfRefreshEvent)
        fun showError(errorMsg: String)
        fun showAlbumInfo(album: Album?)
    }

    interface Presenter:IPresenter<View>{
        fun getAlbum(albumId: Int)
    }

}